cmake_minimum_required(VERSION 2.6)

include ( ../ardrone2_toolchain.cmake )

link_libraries(m)
link_libraries(pthread)

link_directories(${CMAKE_BINARY_DIR}/libs/orocos-bfl-0.8.0/src)
link_directories(${CMAKE_BINARY_DIR}/libs/orocos-bfl-0.8.0/prueba/src)
link_libraries(orocos-bfl)

include_directories(${CMAKE_BINARY_DIR}/libs/orocos-bfl-0.8.0/src
	${CMAKE_BINARY_DIR}/libs/boost_1_50_0
)

add_executable(horizontal_velocities
	horizontal_velocities.c
	main_horizontal_velocities.c
	../util/util.c
	../video/video.c
	../video/blocksum.c
	../attitude/attitude.cpp
	../attitude/ars.c
	../attitude/moving_average.c
	../navboard/navboard.c
	../gpio/gpio.c
	../lowpass/lowpass.c
	../attitude/DroneKalman.cpp
)
